﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Templates/main.Master" AutoEventWireup="true" CodeBehind="Measures.aspx.cs" Inherits="SAIN.Abastos.catalogo.Measures" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphStyles" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphScripts" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Main" runat="server">
    <div class="contentContainer">
<asp:UpdatePanel ID="updatePnl" runat="server">
<ContentTemplate>
<h2 id="TituloPagina" class="title" runat="server">Medidas de productos</h2>
    <asp:Panel ID="Panel1" runat="server" Height="600px" Width="800px">
        <asp:Label ID="Label1" runat="server" Text="Medida:"></asp:Label>
        <asp:TextBox ID="txtMedida" runat="server"></asp:TextBox>
        <asp:Button ID="btnCrearMedida" runat="server" onclick="btnCrearMedida_Click" 
            Text="Crear" />
        <br />
        <br />
        <asp:GridView ID="gvMedidas" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" GridLines="None" ForeColor="#333333">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="iMeasureId" HeaderText="ID" />
                <asp:BoundField DataField="sMeasureName" HeaderText="Medida" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
    </asp:Panel>
    </ContentTemplate>
    </asp:UpdatePanel>
</div>
</asp:Content>
